#ifndef RECORD_H
#define RECORD_H

#include "tools.h"

class Record
{
public:
    unsigned int m_id;     	//记录编号
    string m_bookName;		//书名
	unsigned int m_bookId;  //书号
	string m_name;   //借书人名
	unsigned int m_perId; //借书人ID
	struct tm m_broTime ;//借书日期
	unsigned int m_day;  //要借的天数
	bool m_isReturn ;   //是否已归还
	struct tm m_retTime ;//归还日期
	
	Record(void);
    Record(unsigned int id,const char* bookName,unsigned int bookId,const char* name,unsigned int perId, struct tm& broTime,unsigned int day,bool isReturn,struct tm& retTime); 

};

#endif//RECORD_H
